import { ref } from 'vue';
import { defineStore } from 'pinia';

export const useFoldStore = defineStore('fold', () => {
  const isFold = ref(false);
  function toggleFold() {
    isFold.value = !isFold.value;
  }

  return { isFold, toggleFold };
});
